package com.atguigu.springboot.mapper;/*
代码的功能：
@author:
@return:
@throws:
@args:    
*/

import com.atguigu.springboot.bean.Employee;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

//使用@Mapper或者MapperScan 将接口扫描转配到容器中
@Mapper
public interface EmployeeMapper {
//    @Select("select * from employee where id=#{id}")
    public Employee getEmpById(Integer id);
//    @Insert("insert into employee ")
    public void insertEmp(Employee employee);
}
